<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>What is zhis sha?</title>
<script type="text/javascript" src="../static/easyui/jquery.min.js"></script>
<script type="text/javascript" src="../static/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../static/easyui/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" href="../static/easyui/themes/icon.css">
<link rel="stylesheet" href="../static/easyui/themes/metro-red/easyui.css">

<style type="text/css">

</style>
</head>
<body>
	<script type="text/javascript" src="../static/zyc/js/dept-add.js?<%=Math.random()%>"></script>
	<script type="text/javascript">
		
	</script>
	<link rel="stylesheet" href="../static/zyc/css/dept-add.css?<%=Math.random()%>">
	<div class="full_scr bj_home">
		<div class="bj_img" style="background-image:${hopa.perPmsZts[0].ztback}"></div>
		<div class="bj_txt">
			<div class="bj_small bj_s_w7">
			
				<div class="deptadd_head">
					<span class="text_style_title">新建业务</span>
				</div>
				<div class="deptadd_box">
					<table class="" border="1" cellpadding="0" cellspacing="0">
						<tr class="da_t_tr1">
							<td class="da_t_text">业务名称</td>
							<td class="da_t_name" colspan="3">
								<input type="text" id="deptname" value="" class="">
							</td>
							<td class="da_t_text">申请时间</td>
							<td class="da_t_time" colspan="2">
								<input type="text" value="" class="">
							</td>
						</tr>
						<tr class="da_t_tr2">
							<td class="da_t_text">负责人</td>
							<td class="da_t_emps">
								<select id="empid">
									<c:forEach items="${Emp}" var="e">
										<option value ="${e.empid}">${e.empname}</option>
									</c:forEach>
								</select><br/>
							</td>

							<td class="da_t_text">所属部门</td>
							<td class="da_t_dept">
								<select id="deptid">
									<c:forEach items="${Dept}" var="d">
										<option value ="${d.deptid}">${d.deptname}</option>
									</c:forEach>
								</select>
							</td>

							<td class="da_t_text" rowspan="2">人员组成</td>
							<td class="da_t_pot" rowspan="2">
								<div><span>人员组成：</span><input type="text" class="in_text" id="zjiname"></div>
								<div><span>人员数量：</span><input type="text" class="in_text" id="zjisum" onkeyup="this.value=this.value.replace(/[^\d\.\d{0,2}]/g,'')"></div>
								<select id="zjiid">
									<option value="4">员工</option>
								</select>
								<select id="jinid">
									<option value ="0">- 请选择对应技能 -</option>
									<c:forEach items="${jnxx}" var="j">
										<option value ="${j.jnxxid}">${j.jnxxname}</option>
									</c:forEach>
								</select>
								<br/><button class="in_butt green" onclick="addpot()">加入</button>
							</td>
							<td class="da_t_pots" rowspan="2">
								
							</td>
							
						</tr>
						<tr class="da_t_tr3">
							<td class="da_t_text">业务简介</td>
							<td class="da_t_jiej" colspan="3">
								<textarea class=""  id="depttext"></textarea>
							</td>
						</tr>
						<tr class="da_t_tr4">
							<td colspan="7">
								<button class="green" onclick="adddept()">确定</button>
								<button class="red" onclick="closedeppt()">重置</button>
							</td>
						</tr>
					</table>
				</div>
				
			</div>
		</div>
	</div>
</body>
</html>